<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" isELIgnored="false" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/public.css" media="all">
    <style>
        body {
            background-color: #ffffff;
        }
    </style>
</head>
<body>
<form action="${pageContext.request.contextPath}/health/education/add.html" method="post">
    <div class="layui-form layuimini-form">
        <div class="layui-form-item">
            <label class="layui-form-label required">健康教育计划项目id</label>
            <div class="layui-input-block">
                <input type="text" id="position" name="project_id" lay-verify="required" lay-reqtext="职务不能为空" placeholder="请输入职务"
                       value="" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">健康教育计划项目名称</label>
            <div class="layui-input-block">
                <input  type="text" name="project_name" placeholder="请输入工作内容" value="" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">教育人员</label>
            <div class="layui-input-block">
                <input id="type" type="text" name="education_people" placeholder="请输入工作类型" value="" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">教育内容</label>
            <div class="layui-input-block">
                <input id="job" type="text" name="education_content" placeholder="请输入工作内容" value="" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button type="submit" class="layui-btn layui-btn-normal"  >确认保存</button>
            </div>
        </div>
    </div>
    </div>
</form>
<script src="${pageContext.request.contextPath}/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<%--<script>--%>
<%--    layui.use(['form'], function () {--%>
<%--        var form = layui.form,--%>
<%--            layer = layui.layer,--%>
<%--            $ = layui.$;--%>

<%--        //监听提交--%>
<%--        form.on('submit(saveBtn)', function (data) {--%>
<%--            var index = layer.alert(JSON.stringify(data.field), {--%>
<%--                title: '最终的提交信息'--%>
<%--            }, function () {--%>

<%--                // 关闭弹出层--%>
<%--                layer.close(index);--%>

<%--                var iframeIndex = parent.layer.getFrameIndex(window.name);--%>
<%--                parent.layer.close(iframeIndex);--%>

<%--            });--%>

<%--            return false;--%>
<%--        });--%>

<%--    });--%>
<%--</script>--%>
</body>
</html>